package top.purity.server.tenant.domain.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import top.purity.server.tenant.domain.TenantUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @version 1.0
 * @Author Lmh
 * @Description
 * @CreateTime 2023-09-22 22:02
 */

public interface TenantUserRepository extends JpaRepository<TenantUser, Long>, JpaSpecificationExecutor<TenantUser> {

    TenantUser getTenantUserByTenantCode(String code);
}
